home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 11 / Mac Magazin and MacEasy Magazine CD - Issue 11.iso / Sharewarebibliothek / Entwickler / nShell-Pro / bin / wc / wc.rsrc / TEXT_16000_man general.txt < prev    next >
Text File  |  1994-11-27  |  773b  |  33 lines

  1.  
  2. NAME
  3.  
  4. wc - display a count of lines, words and characters
  5.  
  6. SYNOPSIS
  7.  
  8. wc [-l] [-w] [-c] [filename...]
  9.  
  10. DESCRIPTION
  11.  
  12. The "wc" command counts lines, words, and characters in files, or in the standard input if no filename appears.  It also keeps a total count for all named files.  A word is a string of characters delimited by SPACE, TAB, or NEWLINE characters.
  13.  
  14. OPTIONS
  15.  
  16. -l    display line count
  17. -w    display word count
  18. -c    display character count
  19.  
  20. The default for this command is -lwc, displaying all counts.  If any options are specified, only those counts will be displayed.
  21.  
  22. EXAMPLES
  23.  
  24. % wc *.txt
  25.       1       2      12 cat.txt
  26.       4      12      60 dog.txt
  27.       5      14      72 total
  28.  
  29. % wc *.txt -lw
  30.       1       2 cat.txt
  31.       4      12 dog.txt
  32.       5      14 total
  33.